//
//  SGSAppDelegate.h
//  RapidSquare
//
//  Created by German on 27.08.14.
//  Copyright (c) 2014 RapidSquare. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <MobileCoreServices/MobileCoreServices.h>

#define NEW_DESIGN 1

//#define LOGS_ENABLED 0
#define APPLE_STANDARD 0
#define APPLE_STANDARD_IMAGE_DOWNLOADER 1
#define USE_TIMER_FOR_NOTIFICATIONS 0
#define CHECK_STORED_TOKEN 0

#define AUTHORIZATION_MANDATORY 0

#define CLEAR_DATABASE 0
#define CLEAR_SETTINGS 0
#define CLEAR_EVENTS 0
#define CLEAR_CONTACTS 0
#define CLEAR_MYPROFILE 0

#define SYNCHRONIZE_DB 1
#define SYNCHRONIZATION_DELAY 5 //sec

#define CORE_DATA_SAFE_THREAD_MODE 1

#define WHITE_BACKGROUND 1
#define USE_DB_FOR_STORAGE 1
#define LOGIN_VIEW_ANIMATION 0

#define USE_GROUPED_EVENTS 1
#define USE_GROUPED_CONTACTS 1

#define LOG_INFOS 1
#define LOG_SYSTEMS 1
#define LOG_WARNINGS 1
#define LOG_ERRORS 1
#define LOG_EVENTS 0

extern NSString * const receivedRemoteNotification;

@interface SGSAppDelegate : UIResponder <UIApplicationDelegate>

@property (strong, nonatomic) UIWindow *window;

-(void) startSpinner;
-(void) stopSpinner;

-(void) startStatusBarSpinner;
-(void) stopStatusBarSpinner;

@end
